package com.video.system.mapper;

import java.util.List;
import com.video.system.domain.VideoUser;

/**
 * 用户Mapper接口
 * 
 * @author lyh
 * @date 2021-07-20
 */
public interface VideoUserMapper 
{
    /**
     * 查询用户
     * 
     * @param uId 用户ID
     * @return 用户
     */
    public VideoUser selectVideoUserById(Integer uId);

    /**
     * 查询用户列表
     * 
     * @param videoUser 用户
     * @return 用户集合
     */
    public List<VideoUser> selectVideoUserList(VideoUser videoUser);

    /**
     * 新增用户
     * 
     * @param videoUser 用户
     * @return 结果
     */
    public int insertVideoUser(VideoUser videoUser);

    /**
     * 修改用户
     * 
     * @param videoUser 用户
     * @return 结果
     */
    public int updateVideoUser(VideoUser videoUser);

    /**
     * 删除用户
     * 
     * @param uId 用户ID
     * @return 结果
     */
    public int deleteVideoUserById(Integer uId);

    /**
     * 批量删除用户
     * 
     * @param uIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteVideoUserByIds(String[] uIds);
}
